import React from 'react'
import './index.less'
export default class Home extends React.Component{

  render () {
    return (
      <div className='home-wrap'>
        欢迎来到共享单车后台管理系统课程
      </div>
    )
  }
}

/*
  react-router-dome核心用法
    HashRouter和BrowserRouter

    Route: path、exact、component、render
      <Route path='/three/:number'/>
      <Link to={{pathname: '/three/7'}}></Link>
      取值：this.props.match.params.number
    NavLink、Link
      Link 可以传的值
        pathname
        search
        hash
        key
        state
    Switch
    Redirect
    
*/ 